//
//  TouchImageView.m
//  TrapDemo
//
//  Created by zkingsoft on 16/2/29.
//  Copyright (c) 2016年 zkingsoft. All rights reserved.
//

#import "TouchImageView.h"

@implementation TouchImageView

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    UITouch *touch=[touches anyObject];
    UIImageView *imgeV=(UIImageView*)[touch view];
    
    if ([_delegate respondsToSelector:@selector(touchImageView:)]) {
        [_delegate touchImageView:imgeV];
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
